<?php
/**
 * Created by PhpStorm.
 * Author: Shadow
 * Date: 2022/5/21
 * Time: 9:56 上午
 * description: api.php
 * 接口路由
 */

use think\facade\Route;

// 调试

Route::get('test',function (){
    return 'api应用';
});

Route::post('login',"Login/doLogin");

Route::post('add',"Category/add")->middleware(\thans\jwt\middleware\JWTAuth::class);